﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Configuration;

namespace InsuranceSell.Code.Data
{
    class BaseDAO
    {
        public SqlConnection GetConnection()
        {
            string connection = ConfigurationSettings.AppSettings["InsuranceSellDB"].ToString();
            return new SqlConnection(connection);
        }
    }
}
